<?php /* Smarty version 2.6.26, created on 2012-05-12 14:55:29
         compiled from C:%5CWampDeveloper%5CWebsites%5Cwww.siyaradiali.com%5Cwebroot%5Cplugins%5CdbMigration%5Cadmin%5Cdb_migration.tpl */ ?>
<?php require_once(SMARTY_CORE_DIR . 'core.load_plugins.php');
smarty_core_load_plugins(array('plugins' => array(array('modifier', 'cat', 'C:\\WampDeveloper\\Websites\\www.siyaradiali.com\\webroot\\plugins\\dbMigration\\admin\\db_migration.tpl', 5, false),)), $this); ?>
<!-- db_migration tpl -->

<?php if (! $this->_tpl_vars['errors']): ?>

<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ((is_array($_tmp=((is_array($_tmp='blocks')) ? $this->_run_mod_handler('cat', true, $_tmp, @RL_DS) : smarty_modifier_cat($_tmp, @RL_DS)))) ? $this->_run_mod_handler('cat', true, $_tmp, 'm_block_start.tpl') : smarty_modifier_cat($_tmp, 'm_block_start.tpl')), 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
<div id="import_modules_dom" style="padding: 10px;">
	<script type="text/javascript" src="<?php echo @RL_LIBS_URL; ?>
jquery/jquery.qtip.js"></script>
	<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=((is_array($_tmp=@RL_PLUGINS)) ? $this->_run_mod_handler('cat', true, $_tmp, 'dbMigration') : smarty_modifier_cat($_tmp, 'dbMigration')))) ? $this->_run_mod_handler('cat', true, $_tmp, @RL_DS) : smarty_modifier_cat($_tmp, @RL_DS)))) ? $this->_run_mod_handler('cat', true, $_tmp, 'admin') : smarty_modifier_cat($_tmp, 'admin')))) ? $this->_run_mod_handler('cat', true, $_tmp, @RL_DS) : smarty_modifier_cat($_tmp, @RL_DS)))) ? $this->_run_mod_handler('cat', true, $_tmp, 'modules.tpl') : smarty_modifier_cat($_tmp, 'modules.tpl')), 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>
</div>
<?php $_smarty_tpl_vars = $this->_tpl_vars;
$this->_smarty_include(array('smarty_include_tpl_file' => ((is_array($_tmp=((is_array($_tmp='blocks')) ? $this->_run_mod_handler('cat', true, $_tmp, @RL_DS) : smarty_modifier_cat($_tmp, @RL_DS)))) ? $this->_run_mod_handler('cat', true, $_tmp, 'm_block_end.tpl') : smarty_modifier_cat($_tmp, 'm_block_end.tpl')), 'smarty_include_vars' => array()));
$this->_tpl_vars = $_smarty_tpl_vars;
unset($_smarty_tpl_vars);
 ?>

<script type="text/javascript">
var dbImport;
var importLock = false;
<?php echo '
	$(document).ready(function() {
		dbImport = function(module) {
			if ( !importLock ) {
				importLock = true;
				
				if ( $(\'input[name=im_\'+ module +\']:checked\').length > 0 )
				{
					var replace = $(\'input[name=im_\'+ module +\']:checked\').val();
					eval( \'xajax_import_\'+ module +\'( \'+ replace +\' );\' );
				}
				else
				{
					eval( \'xajax_import_\'+ module +\'();\' );
				}

				$(\'#import_\'+ module).val(\''; ?>
<?php echo $this->_tpl_vars['lang']['loading']; ?>
<?php echo '\');
			}
		}
	});
'; ?>

</script>

<?php endif; ?>
<!-- db_migration tpl end -->